package com.feiyumall.account.service;

import com.feiyu.common.utils.R;
import com.feiyumall.account.dto.loginDto;
import com.feiyumall.account.dto.registerDto;
import com.feiyumall.account.entity.redis.accountInfoEntity;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author: Doate
 * @Date: Created in 2021/4/10 14:36
 * @Description:
 */
public interface loginService {
    public R logining(HttpServletResponse response,loginDto dto);
    public accountInfoEntity loginCheck(String token);
    public R register(registerDto dto);
    public R updateUser(registerDto dto ,int userId);


}
